﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;

namespace LeafulWeiboSdk.Metadata
{
    public class TokenMetadata : BaseMetadata
    {
        [JsonProperty("access_token")]
        public string AccessToken { get; set; }
        [JsonProperty("expires_in")]
        public string ExpiresIn { get; set; }
        [JsonProperty("remind_in")]
        public string RemindIn { get; set; }
        [JsonProperty("uid")]
        public string Uid { get; set; }
    }

    public class TokenInfoMetadata : BaseMetadata
    {
        [JsonProperty("uid")]
        public string Uid { get; set; }
        [JsonProperty("appkey")]
        public string Appkey { get; set; }
        [JsonProperty("scope")]
        public string Scope { get; set; }
        [JsonProperty("create_at")]
        public string CreateAt { get; set; }
        [JsonProperty("expires_in")]
        public string ExpiresIn { get; set; }
    }
}
